package com.ftg.learn.framework.spring.chapter04.local.xml;

import lombok.Data;

/**
 * @author 布衣
 */
@Data
public class Product {

    private Farmer farmer;
    private String name;

    private String price;


    public Product(String str) {
        System.out.println("我是构造方法" + str);
    }

    public Product(String str,String str1,String str2) {
        System.out.println("我是构造方法" + str);
    }

    public void abc() {
        System.out.println("你在实例化我的时候，我要执行这个方法");
    }

}
